#include <iostream>
#include <deque>
#include <iterator>

using namespace std;

typedef deque<int> IntDeque;
typedef IntDeque::iterator Iter;
typedef IntDeque::const_iterator ConstIter;

void test()
{
    IntDeque d;
    ConstIter ci;

    Iter i(d.begin());
    advance(i, std::distance<ConstIter>(i, ci));
}

int main()
{
    return 0;
}
